package contratosonline.ejb.controller;

import java.util.List;

import javax.ejb.Local;

import contratosonline.entity.Setor;
@Local
public interface SetorJPAControllerLocal {

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#persiste(contratosonline.entity.Setor)
	 */
	public abstract void persiste(Setor setor);

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#altera(contratosonline.entity.Setor)
	 */
	public abstract void altera(Setor setor) throws Exception;

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#exclui(java.lang.Integer)
	 */
	public abstract void exclui(Integer id) throws Exception;

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#findSetorEntities()
	 */
	public abstract List<Setor> findSetorEntities();

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#findSetorEntities(int, int)
	 */
	public abstract List<Setor> findSetorEntities(int maxResults,
			int firstResult);

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#findSetor(java.lang.Integer)
	 */
	public abstract Setor findSetor(Integer id);

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.SetorControllerLocal#getSetorCount()
	 */
	public abstract int getSetorCount();

}